package com.ruoyi.weixin.domain;

import java.util.Date;
/**
 * @author 徐柯
 * @Title:
 * @Package
 * @Description:
 * @date 2021/4/114:16
 */
public class OrderDetail {
    // 主键
    private Long id;
    // 支付课程id
    private String courseId;
    // 支付课程标题
    private String courseTitle;
    // 支付课程封面
    private String courseImg;
    // 支付价格
    private String price;
    // 支付用户
    private String userId;
    // 支付用户昵称
    private String userName;
    // 支付流水订单号
    private String orderNumber;
    // 支付交易号
    private String tradeNo;
    // 1 alipay 2 weixin
    private String payMethod;
    // 课程创建时间
    private Date createTime;
    // 课程更新时间
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getCourseTitle() {
        return courseTitle;
    }

    public void setCourseTitle(String courseTitle) {
        this.courseTitle = courseTitle;
    }

    public String getCourseImg() {
        return courseImg;
    }

    public void setCourseImg(String courseImg) {
        this.courseImg = courseImg;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(String payMethod) {
        this.payMethod = payMethod;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "id=" + id +
                ", courseId='" + courseId + '\'' +
                ", courseTitle='" + courseTitle + '\'' +
                ", courseImg='" + courseImg + '\'' +
                ", price='" + price + '\'' +
                ", userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", orderNumber='" + orderNumber + '\'' +
                ", tradeNo='" + tradeNo + '\'' +
                ", payMethod='" + payMethod + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}